package com.ssy.lingxi.platform.manage.model.response;

import lombok.Data;

/**
 * @author lqa
 * @version 2.0.0
 * @date 2022/3/15
 */
public class ContentNoticeResponse {

    private static final long serialVersionUID = -5623960465767881969L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 标题
     */
    private String title;

    /**
     * 栏目 1-会员首页公告 2-注册须知 3-入库协议
     */
    private Integer columnType;

    /**
     * 是否置顶 0-否 1-是
     */
    private Integer top;

    /**
     * 状态 1-待上架 2-已上架 3-已下架
     */
    private Integer status = 1;

    /**
     * 创建时间
     */
    private Long createTime = System.currentTimeMillis();

    public ContentNoticeResponse() {
    }

    public ContentNoticeResponse(Long id, String title, Integer columnType, Integer top, Integer status, Long createTime) {
        this.id = id;
        this.title = title;
        this.columnType = columnType;
        this.top = top;
        this.status = status;
        this.createTime = createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getColumnType() {
        return columnType;
    }

    public void setColumnType(Integer columnType) {
        this.columnType = columnType;
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
}
